﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SaleList.aspx.cs" Inherits="Acc.Manage.Report_SF_aspx.SaleList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>销货清单 -- 打印</title>
    <style type="text/css">
        .style1
        {
            width: 186px;
        }
        .style2
        {
            width: 152px;
        }
    </style>
</head>
<body  style=" margin:0; padding:0">
    <form id="form1" runat="server" style="font-size:smaller">
    <center>
        <div style="height: auto; border: 0px solid black;">
            <table style=" width: 647px; line-height: 15px;">
                <tr>
                    <td colspan="3" style="text-align: center; font-size:larger">
                             销货清单 单号：<%=code %>
                    </td>
                </tr>
                <tr style="text-align: left;">
                    <td style="text-align: left;" class="style6">
                        购货单位:<%=CUSTOMERNAME %>
                    </td>
                    <td class="style1">
                        税 号:<asp:Label ID="lblSNum" runat="server" Text=""></asp:Label>
                    </td>
                    <td class="style2">
                        开票日期:<asp:Label ID="lblDate" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr style="text-align: left;">
                    <td class="style6">
                        开票单位:<asp:Label ID="Label5" runat="server" Text="定陶圣沣华航食品有限公司"></asp:Label>
                    </td>
                    <td class="style1">
                        发票类型:<asp:DropDownList ID="DropDownList1" runat="server" Height="20px" Width="100px">
                            <asp:ListItem Selected="True">普通发票</asp:ListItem>
                            <asp:ListItem>增值税发票</asp:ListItem>
                            <asp:ListItem></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style2">
                        摘 要:
                    </td>
                </tr>
            </table>
            <table style="width: 640px; text-align: left;">
                <tr>
                    <td>
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="640px"
                            OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
                            <Columns>
                                <asp:TemplateField HeaderText="序号" InsertVisible="False">
                                    <ItemStyle HorizontalAlign="Center" />
                                    <HeaderStyle HorizontalAlign="Center" Width="6%" />
                                    <ItemTemplate>
                                        <%#Container.DataItemIndex+1%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="code" HeaderText="产品编码" ItemStyle-Width="11%" />
                                <asp:BoundField DataField="materialName" HeaderText="品名" />
                                <asp:BoundField DataField="specification" HeaderText="规格" />
                                <asp:BoundField DataField="unit" HeaderText="单位" ItemStyle-Width="6%" />
                                <asp:BoundField DataField="shuilv" HeaderText="税率" ItemStyle-Width="6%" />
                                <asp:BoundField DataField="buhanshui" HeaderText="不含税金额" ItemStyle-Width="15%" />
                                <asp:BoundField DataField="num" HeaderText="数量" />
                                <asp:BoundField DataField="price" HeaderText="单价" />
                                <asp:BoundField DataField="countnum" HeaderText="金额" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
            </table>
            <table>
                <tr>
                    <td>
                        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" Width="640px">
                            <Columns>
                                <asp:TemplateField HeaderText="序号" InsertVisible="False">
                                    <ItemStyle HorizontalAlign="Center" />
                                    <HeaderStyle HorizontalAlign="Center" Width="6%" />
                                    <ItemTemplate>
                                        <%#Container.DataItemIndex+1%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="code" HeaderText="产品编码" />
                                <asp:BoundField DataField="materialName" HeaderText="品名" />
                                <asp:BoundField DataField="specification" HeaderText="规格" />
                                <asp:BoundField DataField="unit" HeaderText="单位" />
                                <asp:BoundField DataField="num" HeaderText="数量" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
            </table>
            <table style="width: 640px; text-align: left; border: 1px solid black;">
                <tr>
                    <td style="border-right: 1px solid black;">
                        <asp:Label ID="Label2" runat="server" Text=" 数量合计："></asp:Label>
                        <asp:Label ID="Label3" runat="server" Text="Label"><%=numCount %></asp:Label>
                    </td>
                    <td style="border-right: 1px solid black;">
                        <asp:Label ID="lblCountMoney" runat="server" Text="金额合计："></asp:Label>
                        <asp:Label ID="lblCountMoney1" runat="server" Text=""><%=moneyCount %></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="lblBuhanshui" runat="server" Text="不含税金额合计："></asp:Label>
                        <asp:Label ID="lblBuhanshui1" runat="server" Text=""><%=buhanshui%></asp:Label>
                    </td>
                </tr>
            </table>
            <table style="height: auto; width: 640px; line-height: 20px; border: 1 px solid;">
                <tr style="text-align: left;">
                    <td>
                        制单人:<%=createman%>
                    </td>
                    <td>
                        审核人:<%=Reviewedman%>
                    </td>
                    <td>
                        库房:
                    </td>
                    <td>
                        财务:
                    </td>
                </tr>
                <tr style="text-align: left;">
                    <td>
                        打印人:
                    </td>
                    <td>
                        打印时间:<asp:Label ID="lblPrintDate" runat="server" Text=""></asp:Label>
                    </td>
                    <td colspan="2" style="text-align: right;">
                        【WMS仓库管理系统】
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td style="text-align: right;">
                        <input type="button" value="打印" id="Button2" onclick="window.print()" />
                    </td>
                    <td style="text-align: left;">
                        <asp:Button ID="Button3" runat="server" OnClick="Button1_Click" Text="保存" />
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    </center>
    </form>
</body>
</html>
